package com.ihisun.tmhcms.core.dao.edgiftbagdao;

import com.ihisun.tmhcms.core.dto.editgiftbag.VipPackageMechanismDto;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

@Transactional
public interface EditVipPackageMechanismDao extends JpaRepository<VipPackageMechanismDto,Long> {

    public void deleteByPackageId(String packageId);
    public List<VipPackageMechanismDto>findByPackageId(String packageId);
}
